{% init baseurl = "/plugins_list" %}
{% init show_category = True %}
{% init show_back = "false" %}
{% init title = "插件中心" %}
{% init category_name = None %}

<div class="card">
    <div class="card-title">
        <span>{{ title }}</span>
        {% if _is_mobile and category_name != None and category_name != "" %}
            <span>: {{category_name}}</span>
        {% end %}
        <div class="float-right">
            <a class="btn btn-default mobile-only" href="{{_server_home}}/plugin_category_list">分类</a>
            {% if _is_admin %}
                <a class="btn btn-default" href="{{_server_home}}/fs_link/scripts/plugins">管理</a>
            {% end %}

            {% if show_back == "true" %}
                {% include common/button/back_button.html %}
            {% end %}
        </div>
    </div>
</div> 

{% if show_category %}
    {% include plugin/header/plugin_category.html %}
{% end %}